// 封装过滤器
export function formatContractStatus(val) {
	let obj = {0:"无效",1:"有效",2:"完成",3:"作废"}
	return obj[val];
}
export function formatSex(val) {
	let obj = {1:"男",2:"女"}
	return obj[val];
}
export function formatMarriage(val) {
	let obj = {1:"未婚",2:"已婚",3:"离异",4:"丧偶"}
	return obj[val];
}
export function formatCard(val) {
	let obj = {1:"身份证",2:"护照"}
	return obj[val];
}
export function formatSource(val) {
	let obj = {1:"前台",2:"网络",3:"单位",4:"其他"}
	return obj[val];
}
export function formatStatus(val) {
	let obj = {1:"正常",2:"无效",3:"限制",4:"拉黑",5:"死亡"}
	return obj[val];
}
export function formatDiscount(val) {
	let obj = {0:"不打折",1:"打折"}
	return obj[val];
}
export function format1(val){
	var dict = {1:"不限", 2:"男组", 3:"女组"}
	return dict[val]
}
export function format2(val){
	var dict = {1:"不限", 2:"未婚", 3:"已婚"}
	return dict[val]
}
export function format3(val){
	var dict = {0:"不限",1:"大于", 2:"大于等于", 3:"小于",4:"小于等于"}
	return dict[val]
}